import {fetch as get, post} from '../util/http'
// http://localhost:18888/api/hr/wfCerHdr/getOne?cTransactionNbr=2018060210000638
//证明开具流程查询
export const getProveInfo = params => get(`/api/hr/wfCerHdr/getOne`, params = {cTransactionNbr: 2018060210000638});

//证明开具流程录入
export const saveProveInfo = data => post(`/api/hr/wfCerHdr/save`, data);

//证明类型字典
export const getProveDictionaries = params => get('/api/hr/sysdict/getAll', params)//证明类型字典

//获取流程编号
export const getProcessNumber = params => get('/api/hr/wfCerHdr/getOne?cTransactionNbr=2018060210000638')
